package com.mapper;

import com.entity.Shuihu;
import com.qo.QueryObject;

import java.util.List;

public interface ShuihuMapper {
    void add(Shuihu shuihu);

    void delById(Long id);

    void edit(Shuihu shuihu);

    Shuihu selOneById(Long id);

    List<Shuihu> selAll();

    //根据用户传递的分页条件查询满足条件数据总条数
    Integer selCount(QueryObject queryObject);
    //根据用户传递的分页条件查询满足条件的所有数据
    List<Shuihu> selList(QueryObject queryObject);

}
